package com.ebuy.mall.dao;

import com.ebuy.mall.entity.EBuyMallSeckillSuccess;
import org.springframework.stereotype.Repository;

@Repository
public interface EBuyMallSeckillSuccessMapper {
    int deleteByPrimaryKey(Integer secId);

    int insert(EBuyMallSeckillSuccess record);

    int insertSelective(EBuyMallSeckillSuccess record);

    EBuyMallSeckillSuccess selectByPrimaryKey(Long secId);

    int updateByPrimaryKeySelective(EBuyMallSeckillSuccess record);

    int updateByPrimaryKey(EBuyMallSeckillSuccess record);

    EBuyMallSeckillSuccess getSeckillSuccessByUserIdAndSeckillId(Long userId, Long seckillId);
}
